package net.atomarrow.sy.bean;

import net.atomarrow.bean.Pager;

public class JsonInfo {
    public boolean success;
    public Object result;
    public String msg;
    public Pager pager;

    public JsonInfo(Boolean success, Object result, String msg) {
        this.success = success;
        this.result = result;
        this.msg = msg;
    }
    public JsonInfo(Boolean success, Object result, String msg,Pager pager) {
        this.success = success;
        this.result = result;
        this.msg = msg;
        this.pager=pager;
    }
    public boolean isSuccess() {
        return success;
    }
    public void setSuccess(boolean success) {
        this.success = success;
    }
    public Object getResult() {
        return result;
    }
    public void setResult(Object result) {
        this.result = result;
    }
    public String getMsg() {
        return msg;
    }
    public void setMsg(String msg) {
        this.msg = msg;
    }
    public Pager getPager() {
        return pager;
    }
    public void setPager(Pager pager) {
        this.pager = pager;
    }
    
}
